package domainModel;

import java.util.Date;

/**
 * The Interface PostInt.
 */
public interface PostInt {
	
	
	
	public void setId(int id);
	public PostInt clone() ;
	
	/**
	 * Gets the id.
	 *
	 * @return the id
	 */
	public int getId();
	
	/**
	 * Gets the title.
	 *
	 * @return the title
	 */
	public String getTitle();
	
	/**
	 * Gets the content.
	 *
	 * @return the content
	 */
	public String getContent();
	
	/**
	 * Gets the creation time.
	 *
	 * @return the creation time
	 */
	public Date getCreationTime();
	
	/**
	 * Gets the editing time.
	 *
	 * @return the editing time
	 */
	public Date getEditingTime();
	
	/**
	 * Sets the creation time.
	 *
	 * @param ctime the new creation time
	 */
	public void setCreationTime(Date ctime);
	
	/**
	 * Sets the title.
	 *
	 * @param title the new title
	 */
	public void setTitle(String title);
	
	/**
	 * Sets the editing time.
	 *
	 * @param etime the new editing time
	 */
	public void setEditingTime(Date etime);
	
	/**
	 * Sets the content.
	 *
	 * @param content the new content
	 */
	public void setContent(String content);
	
	/**
	 * Gets the creator.
	 *
	 * @return the creator
	 */
	public MemberInt getCreator();
	
	/**
	 * Edits the post.
	 *
	 * @param newContent the new content
	 * @param newTitle the new title
	 */
	public void editPost(String newContent,String newTitle);
}
